<layout name="Index/layout" />

<div class="box-base">

    <div class="tit cl">
        <div class="fl">
            <block name="action">
                <a class="AjaxHtml btn btn-green btn-big mrt10" data-url="{:U('add')}" href="javascript:;">添加</a>
            </block>
        </div>
        <present name="_batch_block">
        <div class="fr">
            <form class="AjaxBatch" data-action="{:U()}" method="post">
                <block name="batch"></block>
                <input type="submit" value="执行">
            </form>
        </div>
        </present>
    </div>

    <div class="con list-base" id="AjaxListBox">
        <table class="TreeTable line border color">
            <block name="list"></block>
        </table>
    </div>
</div>

<script type="text/javascript">
seajs.use(['ajax','tree'],function(ajax,tree){
    ajax.get();
    ajax.confirm();
    ajax.html();

    tree.tree();
    tree.bacth();
    tree.checkbox();
});
</script>
